package Homework;

public class Demo03 {

	public static void main(String[] args) {
		Object lock = new Object();
		IsChild isChild = new IsChild(5);
		
		ChildThread childThread = new ChildThread(lock,isChild,3);
		ParentThread parentThread = new ParentThread(lock,isChild,5);
		
		childThread.start();
		parentThread.start();
    }

}
